package org.linlinjava.litemall.wx.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.linlinjava.litemall.wx.util.AccessoryVo;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class PointExchangeOrderDTO {
    @ApiModelProperty("订单类型(堂食｜外送)")
    private Byte ordertype;

    @ApiModelProperty("订单备注")
    private String msg;

    @ApiModelProperty("订单地址")
    private Integer addressId;

    @NotNull
    private Integer specificationId;
    @NotNull
    private List<PropertyVo> propertyVos;
    private List<AccessoryVo> accessoryVos;
    @NotNull
    private Integer pointExchangeId;
    private Integer shopId;

    // Default constructor
    public PointExchangeOrderDTO() {
        this.ordertype = 1; // Set the default value here
    }
}
